package com.czxy;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @author ：陈进南
 * @date ：Created in 2020/12/28 20:08
 * @description：陈进南的无敌代码
 */
@Data
@TableName("edu_teacher")
public class Teacher {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String intro;
    private String career;
    private Integer level;
    private String avatar;
    private Integer sort;
    @TableField(value = "is_deleted",fill = FieldFill.INSERT)
    @TableLogic
    private Integer isDeleted;
    private Date gmtCreate;
    private Date gmtModified;
}
